// Copyright (c) 2023 by Apex.AI Inc. All rights reserved.
// Copyright (c) 2025 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

#ifndef IOX2_BB_REPORTING_ERROR_REPORTING_CUSTOM_ERROR_KIND_HPP
#define IOX2_BB_REPORTING_ERROR_REPORTING_CUSTOM_ERROR_KIND_HPP

#include "iox2/legacy/error_reporting/error_kind.hpp"

// ***
// * Extend error kinds
// ***

namespace iox2 {
namespace legacy {
namespace er {

// The non-fatal error kinds can all be defined here.

struct RuntimeErrorKind {
    static constexpr char const* name = "Runtime Error";
};

constexpr RuntimeErrorKind RUNTIME_ERROR {};

} // namespace er
} // namespace legacy
} // namespace iox2

#endif // IOX2_BB_REPORTING_ERROR_REPORTING_CUSTOM_ERROR_KIND_HPP
